.PHONY : ALL
ALL : main client test

test : test.cpp
	g++ -o $@ $^ -std=c++11 -g -pthread

main : main.cpp
	g++ -o $@ $^ -std=c++11 -g -pthread
client : client.cpp
	g++ -o $@ $^ -std=c++11
.PHONY : clean
clean :
	rm -f main client